2b1cfdf277b818053124789b8694ba9e880a9ee9,src/main/java/net/ilexiconn/llibrary/client/gui/element/WindowElement.java,WindowElement,render,#number#number#number#,40
Before Change
GlStateManager.pushMatrix();
this.startScissor();
this.drawRectangle(this.getPosX(), this.getPosY(), this.getWidth(), this.getHeight(), LLibrary.CONFIG.getPrimaryColor());
this.drawRectangle(this.getPosX(), this.getPosY(), this.getWidth(), 14, LLibrary.CONFIG.getAccentColor());
FontRenderer fontRenderer = this.getGUI().mc.fontRendererObj;
fontRenderer.drawString(this.name, this.getPosX() + 2.0F, this.getPosY() + 3.0F, LLibrary.CONFIG.getTextColor(), false);
for (Element<T> element : this.elementList) {
After Change
this.startScissor();
this.drawRectangle(this.getPosX(), this.getPosY(), this.getWidth(), this.getHeight(), LLibrary.CONFIG.getPrimaryColor());
if (this.hasTopbar) {
this.drawRectangle(this.getPosX(), this.getPosY(), this.getWidth(), 14, LLibrary.CONFIG.getAccentColor());
}
FontRenderer fontRenderer = this.getGUI().mc.fontRendererObj;
fontRenderer.drawString(this.name, this.getPosX() + 2.0F, this.getPosY() + 3.0F, LLibrary.CONFIG.getTextColor(), false);